package com.zapi.lottery.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

/**
 * 中奖号码配置实体类
 * @author: zhonglz
 * @DATE: 2024-06-09
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("lottery_winning_number")
public class LotteryWinningNumber {

    /**
     * 主键ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 奖项设置ID
     */
    private Integer settingId;

    /**
     * 中奖号码(000-999)
     */
    private String winningNumber;

    /**
     * 号码描述
     */
    private String description;

    /**
     * 状态(0-禁用,1-启用)
     */
    private Integer status;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 更新时间
     */
    private Date updateTime;
} 